<?php 
if ($_GET['a']=="del" && strlen($_GET['k'])>0){
	unlink($_GET['k']);
	setcookie("upload_file","",time()-1);
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<form enctype="multipart/form-data" action="upload.php" method="post">
	<label for="w_pic">选择你要上传的图片:</label>
	<input type="hidden" name="MAX_FILE_SIZE" value="3000000"/>
	<input name="w_pic"  type="file" />
	<input type="submit" name="submit" value="上传" />
</form>
</body>
</html>